﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<%
    if (Session["LoggedUserId"] != null) {
%>
        Bem-vindo <b><%= Html.Encode(Page.User.Identity.Name) %></b>!
        <b> <%= Html.ActionLink("Sign out", "LogOff", "Usuario") %> </b>
<%
    }
    else {
%> 
        <b> <%= Html.ActionLink("Sign in", "LogIn", "Usuario")%> </b>
<%
    }
%>
